﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ORM.Business.Feedbacks;
using ORM.Business.Models.Entities;
using ORM.Business.Models;
namespace ORM.Business.Interfaces
{
    public interface ICommentRepository
    {
        CommentListFeedback GetAllComments(int currentUserId, int guideId, PageInfo pageInfo);
        CommentListFeedback GetHighScoreComments(int currentUserId, int guideId, PageInfo pageInfo);
        Feedback<GuideComment> InsertComment(GuideComment comment);
        Feedback<GuideComment> VoteComment(int commentId, int userId);
        Feedback<GuideComment> DeleteAnComment(int commentId);


        Feedback<GuideComment> ReportComment(int commentId, string reason, int userId);
        Feedback<IList<GuideComment>> GetAllReportedComment(int minReportNumber);
        Feedback<IList<ReportedGuideComment>> GetReportedCommentDetails(int id);
        Feedback DeleteReportedComment(int id);
        Feedback DeleteFalseReports(int id);

      
    }
}